package love.client.model;

import java.net.Socket;

public class Joueur {
	
	private String nom;
	private String id="Anonymous";
	private int num=-1;
	private String partieId;
	
	private Socket socket;
	
	public Joueur(String nom) {
		super();
		this.nom = nom;
	}
	
	public String getNom() {
		return nom;
	}
	
	public Socket getSocket() {
		return socket;
	}

	public void setSocket(Socket socket) {
		this.socket = socket;
	}

	public void setNom(String nom) {
		this.nom = nom;
	}
	
	@Override
	public String toString() {
		return "Client [nom=" + nom + "]";
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}


	public String getPartieId() {
		return partieId;
	}

	public void setPartieId(String partieId) {
		this.partieId = partieId;
	}

	public int getNum() {
		return num;
	}

	public void setNum(int num) {
		this.num = num;
	}
}
